﻿using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TbShop.Web.Infrastructure.Identity
{
    public class ApplicationUser : IdentityUser
    {
        /// <summary>
        /// 头像
        /// </summary>
        public string HeadPortrait { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 最近登录时间
        /// </summary>
        public DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 最近登录IP
        /// </summary>
        public string LastLoginIP { set; get; }
        /// <summary>
        /// 登录次数
        /// </summary>
        public int LoginCount { get; set; }
        public bool IsDeleted { set; get; }
        public DateTime CreatedDate { get; set; }
        public string RoleId { set; get; }
        public string CreatedBy { get; set; }
        public string Address { set; get; }
        public string PasswordMD5 { set; get; }
    }
}